package thulearningcore.util;

public class TLNullConverter {

	protected static final String nullFlag = "\24\0";

	public static String convert(String s) {
		if (null == s) {
			return nullFlag;
		}
		return s;
	}

	public static String revert(String s) {
		if (s.equals(nullFlag)) {
			return null;
		}
		return s;
	}
}
